Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateSubView Method / CreateSubView(Single,Single,Action<GcGraphics,Layer>) Method
The width of the GrapeCity.Documents.Layout.LayoutView rectangle.
The height of the GrapeCity.Documents.Layout.LayoutView rectangle.
A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer, and draws the layer on the graphics.

In This Topic
    CreateSubView(Single,Single,Action<GcGraphics,Layer>) Method
    In This Topic
    Creates a nested View object and adds it on top of other nested layers.
    Syntax
    'Declaration
     
    Public Overloads Function CreateSubView( _
       ByVal width As System.Single, _
       ByVal height As System.Single, _
       ByVal draw As System.Action(Of GcGraphics,Layer) _
    ) As View
    public View CreateSubView( 
       System.float width,
       System.float height,
       System.Action<GcGraphics,Layer> draw
    )

    Parameters

    width
    The width of the GrapeCity.Documents.Layout.LayoutView rectangle.
    height
    The height of the GrapeCity.Documents.Layout.LayoutView rectangle.
    draw
    A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer, and draws the layer on the graphics.
    See Also